package simsimdev;

import java.util.LinkedList;
import java.util.List;
import simsimframework.impl.GatewayImpl;

public class SimSimGateway extends GatewayImpl{

	private List<SimSimNetwork> networks;
	private SimSimFunction function;
	
	public SimSimGateway() {
		super();
		networks = new LinkedList<SimSimNetwork>();
	}
	
	
	public List<SimSimNetwork> getNetworks() {
		return networks;
	}

	public void setNetworks(List<SimSimNetwork> networks) {
		this.networks = networks;
	}
	
	public void addNetwork(SimSimNetwork network){
		networks.add(network);
	}
	
	public SimSimFunction getFunction() {
		return function;
	}
	
	public void setFunction(SimSimFunction function){
		this.function = function;
	}
	
}
